package com.mzkj.wanjulaile.mobile.api.modules.coupon.mapper;

import com.mzkj.wanjulaile.mobile.api.common.persistence.CrudMapper;
import com.mzkj.wanjulaile.mobile.api.modules.coupon.entity.AccountCoupon;
import com.mzkj.wanjulaile.mobile.api.modules.coupon.entity.Invite;
import org.springframework.stereotype.Repository;

/**
 * Created by wangxw on 16/7/26.
 */
@Repository
public interface InviteMapper extends CrudMapper<Invite> {

    Invite getByAccountId(Invite invite);

    void updateBy(Invite invite);

    void resetInviteTimeUse(String id);
}
